import unittest
from htmltestreport import HTMLTestReport

from unittest.DuanYan.assert_1 import TestAdd

suite = unittest.TestSuite()
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestAdd))
runner = HTMLTestReport('test_add_report.html', '加法用例测试报告', 'xxx')
runner.run(suite)